package com.gdk.auth.application.convert;


import com.gdk.auth.application.dto.AuthRoleDTO;
import com.gdk.auth.application.dto.AuthUserDTO;
import com.gdk.auth.domain.entity.AuthRoleBO;
import com.gdk.auth.domain.entity.AuthUserBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 角色dto转换器
 *
 * @author Gudong~
 * @create 2024-10-21 16:01
 */

@Mapper
public interface AuthRoleDTOConverter {

    AuthRoleDTOConverter INSTANCE = Mappers.getMapper(AuthRoleDTOConverter.class);

    AuthRoleBO convertDTOToBO(AuthRoleDTO authRoleDTO);


}